package cn.syx.service;

import cn.syx.domain.Account;

import java.io.IOException;
import java.util.List;

public interface AccountService {
    //保存账户数据
    void save(Account account) throws IOException;

    //查询账户数据
    List<Account> findAll() throws IOException;

    //修改账户数据
    void updateAccount(Account account);

    //删除账户数据
    void deleteById(int id);

    //转账
    void transfer(String outMan, double money, String inMan);
}
